package com.haixee.parkdemo.auth.service;

import com.haixee.parkdemo.auth.entity.dto.RoleFieldDTO;
import com.haixee.parkdemo.auth.entity.dto.ViewInfoDTO;

import java.util.List;

public interface ViewService {


    List<ViewInfoDTO> getAllView();

    void updateRoleView(Integer roleId, Integer fieldId, Byte type, Boolean use);

    List<RoleFieldDTO> getRoleFields(Integer roleId);
}
